import logging

import pytest
import os
from common.logging_use import init_config
from config import BASE_PATH

if __name__ == '__main__':
    init_config(BASE_PATH + '/log/ihrm_log.log', interval=3, backup_count=5)
    pytest.main()
    # 初始化 日志的 配置信息

    os.system("allure generate ./temp -o ./report --clean")
